Hide/show tables with DXL

I have a task in which I need to hide and show table cells within my script.  In the past, I've done this for deleted objects, but am looking to see if there is a way to hide/show all table cells as if you were to select View --> Show --> Table Cells.

 

Chris


chrscote - Thu Dec 14 11:08:14 EST 2017

Re: Hide/show tables with DXL
Mike.Scharnow - Thu Dec 14 14:03:09 EST 2017

opening the DXL manual and searching for "table cells" gives me the following - perhaps it works? 

useShowTables(get and set)
Declaration
bool useShowTables(ViewDef viewDef)
void useShowTables(ViewDef viewDef,
bool save)
Operation
The first form returns true if the option to save the Table Cells setting (shown on the View > Show menu) is currently
set. Otherwise, returns false.
The second form sets the option to save the Table Cells setting.

 

Re: Hide/show tables with DXL
Mike.Scharnow - Thu Dec 14 14:07:47 EST 2017

seems I should have searched some more..

what about

 

tableContents(set)
Declaration
void tableContents(bool expression)
Operation
Shows or hides tables in the current module, if expression evaluates to true or false, respectively.